package com.ruoyi.sl.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 特殊系数对象 sl_special
 * 
 * @author admin
 * @date 2024-06-10
 */
public class SlSpecial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ssId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 类型 */
    @Excel(name = "类型")
    private String averageType;

    /** 模块 */
    @Excel(name = "模块")
    private Long moduleId;

    /** 车间 */
    @Excel(name = "车间")
    private Long workshopId;

    /** 工序 */
    @Excel(name = "工序")
    private Long gprocessId;

    /** 系数 */
    @Excel(name = "系数")
    private BigDecimal ssRatio;

    /** 排序 */
    @Excel(name = "排序")
    private Integer ssSort;

    /** 是否参与生产 */
    @Excel(name = "是否参与生产")
    private String isProduce;

    /** 结算比例 */
    @Excel(name = "结算比例")
    private BigDecimal ssScale;

    @Excel(name = "所属车间", targetAttr = "workshopName", type = Excel.Type.EXPORT)
    private SlWorkshop workshop;

    @Excel(name = "所属模块", targetAttr = "moduleName", type = Excel.Type.EXPORT)
    private SlModule module;

    @Excel(name = "所属大工序", targetAttr = "gprocessName", type = Excel.Type.EXPORT)
    private SlGprocess gprocess;

    public void setSsId(Long ssId) 
    {
        this.ssId = ssId;
    }

    public Long getSsId() 
    {
        return ssId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setAverageType(String averageType)
    {
        this.averageType = averageType;
    }

    public String getAverageType() 
    {
        return averageType;
    }
    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }
    public void setWorkshopId(Long workshopId) 
    {
        this.workshopId = workshopId;
    }

    public Long getWorkshopId() 
    {
        return workshopId;
    }
    public void setGprocessId(Long gprocessId) 
    {
        this.gprocessId = gprocessId;
    }

    public Long getGprocessId() 
    {
        return gprocessId;
    }
    public void setSsRatio(BigDecimal ssRatio) 
    {
        this.ssRatio = ssRatio;
    }

    public BigDecimal getSsRatio() 
    {
        return ssRatio;
    }
    public void setSsSort(Integer ssSort) 
    {
        this.ssSort = ssSort;
    }

    public Integer getSsSort() 
    {
        return ssSort;
    }

    public SlWorkshop getWorkshop() {
        return workshop;
    }

    public void setWorkshop(SlWorkshop workshop) {
        this.workshop = workshop;
    }

    public SlModule getModule() {
        return module;
    }

    public void setModule(SlModule module) {
        this.module = module;
    }

    public SlGprocess getGprocess() {
        return gprocess;
    }

    public void setGprocess(SlGprocess gprocess) {
        this.gprocess = gprocess;
    }

    public String getIsProduce() {
        return isProduce;
    }

    public void setIsProduce(String isProduce) {
        this.isProduce = isProduce;
    }

    public BigDecimal getSsScale() {
        return ssScale;
    }

    public void setSsScale(BigDecimal ssScale) {
        this.ssScale = ssScale;
    }

    @Override
    public String toString() {
        return "SlSpecial{" +
                "ssId=" + ssId +
                ", userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", averageType='" + averageType + '\'' +
                ", moduleId=" + moduleId +
                ", workshopId=" + workshopId +
                ", gprocessId=" + gprocessId +
                ", ssRatio=" + ssRatio +
                ", ssSort=" + ssSort +
                ", isProduce='" + isProduce + '\'' +
                ", ssScale=" + ssScale +
                ", workshop=" + workshop +
                ", module=" + module +
                ", gprocess=" + gprocess +
                '}';
    }
}
